package com.exam.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * teacher
 *
 * @author
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 教师账号
     */
    private String teacherId;

    /**
     * 密码
     */
    private String teacherPassword;

    /**
     * 姓名
     */
    private String teacherName;

    /**
     * 学院id
     */
    private String collegeId;

    /**
     * 学院名
     */
    @TableField(exist = false)
    private String collegeName;

    /**
     * 使用状态
     */
    private String useStatus;

    /**
     * 地址
     */
    private String teacherAddress;

    /**
     * 联系电话
     */
    private String teacherTel;


    private static final long serialVersionUID = 1L;
}